package com.haixiaoke.saas.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Author panda
 * @Date 2024/4/13
 **/
@Data
@Configuration
public class WeChatConfig {

    /**
     * 下单api
     */
    @Value("${wechat.unifiedOrderUrl}")
    private String unifiedOrderUrl;

    /**
     * 退款api
     */
    @Value("${wechat.refundOrderUrl}")
    private String refundOrderUrl;

    /**
     * 退款api
     */
    @Value("${wechat.wechatLogin}")
    private String wechatLogin;

    /**
     * 账单支付回调地址
     */
    @Value("${wechat.billPayCallBackUrl}")
    private String billPayCallBackUrl;

    @Value("${wechat.appId}")
    private String appId;

    @Value("${wechat.secret}")
    private String secret;

    /**
     * 商户号id
     */
    @Value("${wechat.accountId}")
    private String accountId;

    /**
     * 商户号id密钥
     */
    @Value("${wechat.accountApiKey}")
    private String accountApiKey;
}
